package com.qf.dao;

import com.qf.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDAO {
    //增
    int insertUser(User user);
    //删
    int deleteUser(@Param("id") int id);
    //改
    int updateUser(User user);
    //查所有
    List<User>queryUserAll();
    //查单个
    User selectUserById(@Param("id") int id);
}
